package ace.module.common.core.impl.manager.helper;

import com.querydsl.core.types.dsl.SimpleExpression;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;

/**
 * 应用业务辅助接口.
 *
 * @author Caspar
 */
public interface ManagerHelper {


  SimpleExpression findExpressionByAnnClassOrFieldName(Class<?> entityClass, Class<? extends Annotation> annClass,
      String fieldName);

  Field findFieldByAnnClassOrFieldName(Class<?> entityClass, Class<? extends Annotation> annClass,
      String fieldName);

  Field findAppIdField(Class<?> entityClass);

}
